package com.dina.saas.peccancy.util;

import org.apache.commons.lang.StringUtils;

public class Location {

	private static final String pic_suffix = "_pic";

	public Location() {
		super();
	}

	public Location(String name) {
		this.name = name;
	}

	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPic() {
		if (StringUtils.isBlank(name)) {
			return null;
		} else {
			return name + pic_suffix;
		}
	}

}
